package com.framewiki.example.annotation;

import com.cdkjframework.datasource.mybatis.annotation.EnableAutoMybatis;
import com.cdkjframework.redis.annotation.EnableAutoRedis;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.lang.annotation.*;

/**
 * @ProjectName: framewiki-example
 * @Package: com.framewiki.example.annotation
 * @ClassName: EnableAutoExample
 * @Description: Java 类说明
 * @Author: xiaLin
 * @Version: 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Configuration
@EnableAutoRedis
@EnableAutoMybatis
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan(basePackages = {
    "com.cdkjframework.core.business.mapper",
    "com.framewiki.example.mapper"
})
/**
 * 代码生成注释
 */
//@EnableAutoGenerate(basePackage = "com.lesmarthome.bms", projectName = "com.lesmarthome.bms")
public @interface EnableAutoExample {
}
